package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "法院公告")
public class BusinessCourt implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;
    @ApiModelProperty(value = "公告类型")
    private Integer type;
    @ApiModelProperty(value = "公告类型名称")
    private String typeName;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "公告内容")
    private String content;
    @ApiModelProperty(value = "原告/上诉人")
    private String plaintiff;
    @ApiModelProperty(value = "被告/被上诉人")
    private String accused;
    @ApiModelProperty(value = "公告法院")
    private String court;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPlaintiff() {
        return plaintiff;
    }

    public void setPlaintiff(String plaintiff) {
        this.plaintiff = plaintiff;
    }

    public String getAccused() {
        return accused;
    }

    public void setAccused(String accused) {
        this.accused = accused;
    }

    public String getCourt() {
        return court;
    }

    public void setCourt(String court) {
        this.court = court;
    }

    @Override
    public String toString() {
        return "BusinessCourt{" +
                "id=" + id +
                ", publishTime=" + publishTime +
                ", type=" + type +
                ", typeName='" + typeName + '\'' +
                ", enterId=" + enterId +
                ", content='" + content + '\'' +
                ", plaintiff='" + plaintiff + '\'' +
                ", accused='" + accused + '\'' +
                ", court='" + court + '\'' +
                '}';
    }
}